package com.yfapp.platform.tools;

import java.util.List;

public class Pagination<T> {

	private List<T> result;
	private int page;
	private int record;
	private int pageSize;
	private int total;
	public List<T> getResult() {
		return result;
	}
	public void setResult(List<T> result) {
		this.result = result;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getRecord() {
		return record;
	}
	public void setRecord(int record) {
		this.record = record;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public Pagination(List<T> result, int page, int record, int pageSize, int total) {
		super();
		this.result = result;
		this.page = page;
		this.record = record;
		this.pageSize = pageSize;
		this.total = total;
	}
	public Pagination() {
		super();
	}
}
